/*
 * Engine.h
 *
 * Created: 20/03/2012 12:46:19
 *  Author: Dani
 *
 * Use of Timer0
 */ 

#define ENGINE_DDR	DDRA
#define ENGINE_PORT PORTA
#define ENGINE_PIN	PINA

#define CONTAINER_MIX	5
#define CONTAINER_ALL	0

#define SPEED_MAX 255
#define SPEED_25 64
#define SPEED_50 128
#define SPEED_75 192
#define SPEED_0 0

void EngineInit();
void EngineControl(uint8_t engine_num, uint8_t speed);
//void EnginePWMEnable(unsigned char enable);